<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'horizontalForm',
    'type' => 'horizontal',
    'enableAjaxValidation' => false,
//    'action'=>Yii::app()->createUrl('');
        ));
?>
<legend>Proses Penetapan Reklame</legend>
<br>

<?php echo $form->errorSummary($model); ?>

<div class="alert alert-success">A. Data Wajib Pajak </div>
<div class="form">
    <br>
<div class="control-group ">
    <label class="control-label" >No.SKPD </label>
    <div class="controls">
        <input type="text" class="span3">
        <label class="control-label">Tgl.SPTPD </label>
            <input type="text" class="span2" >
    </div>
</div>

<div class="control-group ">
    <label class="control-label" >NPWPD</label>

    <input type="text" class="span1" style="width: 30px;" readonly >
    <input type="text" class="span1" style="width: 20px;" readonly >
    -
    <input type="text" class="span2" readonly >
    -
    <input type="text" class="span1" style="width: 20px;" readonly >
    -
    <input type="text" class="span1" style="width: 30px;" readonly >
</div>



<div class="control-group ">
    <label class="control-label">Wajib Pajak </label>
    <div class="controls">
        <input type="text" class="span4" readonly >      
    </div>
</div>

    <div class="kanan" style="margin-left:50px;">
    <div class="control-group ">
    <label class="control-label">- Alamat </label>
    <div class="controls">
        <input type="text" class="span4" readonly >
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">- Kelurahan/Desa </label>
        <div class="controls">
            <input type="text" class="span3" readonly >
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">- Kecamatan </label>
        <div class="controls">
            <input type="text" class="span3" readonly >
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">- Kabupaten </label>
        <div class="controls">
            <input type="text" class="span3" readonly >
        </div>
    </div>
        </div>
    <div class="row-fluid">
    <div class="control-group">
        <label class="control-label">No.Rekening </label>
        <div class="controls">
            <input type="text" class="span2">
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'type' => 'info',
                'label' => 'F1',
                'htmlOptions' => array('id' => 'btn_pilih_lokasi')
            ));
            ?>
            <label class="control-label" >Nama Rekening</label>
            <input type="text" class="span3" readonly>
            <label class="control-label" >Cara Hitung</label> 
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Self Assessment (SA)',
                '1' => 'Office Assessment (OS)',
                    ), array('class' => 'span2'));
            ?>
        </div>
    </div>
</div>

    <div class="control-group ">
        <label class="control-label" >Masa Pajak</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Self Assessment (SA)',
                '1' => 'Office Assessment (OS)',
                    ), array('class' => 'span3'));
            ?>
          </div>
    </div>

	<div class="control-group ">
		<label class="control-label" >Tanggal</label>
		
			<div class="span2" style="margin:0;">
				<div class="input-group">
				<span class="input-group-addon"><i class="icon-calendar"></i></span>
				<?php
				$this->widget('zii.widgets.jui.CJuiDatePicker', array(
					'model' => $model,
					'attribute' => 'tanggal_kk',
					// additional javascript options for the date picker plugin
					'options' => array(
						'yearRange' => 'c-50:c+20',
					),
				));
				?>
				
                                
                                
                                </div>
			</div>
                <label class="control-label">S/D</label>
		
			<div class="span2" style="margin-left:-100px;">
				<div class="input-group">
				<span class="input-group-addon"><i class="icon-calendar"></i></span>
				<?php
				$this->widget('zii.widgets.jui.CJuiDatePicker', array(
					'model' => $model,
					'attribute' => 'nomor_kk',
					// additional javascript options for the date picker plugin
					'options' => array(
						'yearRange' => 'c-50:c+20',
					),
				));
				?>
				</div>
			</div>

		
	</div>
	


<div class="control-group ">
        <label class="control-label" >Tahun Pajak</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => '2014',
                '1' => '2015',
                '1' => '2016',
                '1' => '2017',
                    ), array('class' => 'span1'));
            ?>
          </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Nomor Kohir </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0" >
        </div>
    </div>
</div>
<br>
    <div class="alert alert-success">B. SPTPD </div>
    <div class="form">
        <br>
            <div class="control-group ">
        <label class="control-label" >No SPTPD </label>
        <div class="controls">
            <input type="text" class="span2">
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Masa Pajak/Tahun</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Januari',
                '1' => 'Februari',
                '2' => 'Maret',
                '3' => 'April',
                    ), array('class' => 'span3'));
            ?>
         </div>
    </div>

        <div class="control-group ">
        <label class="control-label" >Omzet </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Tarif </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0" >
            %
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label">Pengenaan Pajak</label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>
</div>
<br>
    
    
 <div class="alert alert-success">C. SKPD </div>
   <div class="form">
       <br>
 
       <div class="control-group ">
		<label class="control-label" >Tanggal Jatuh Tempo</label>
		
			<div class="span2" style="margin:0;">
				<div class="input-group">
				<span class="input-group-addon"><i class="icon-calendar"></i></span>
				<?php
				$this->widget('zii.widgets.jui.CJuiDatePicker', array(
					'model' => $model,
					'attribute' => 'tanggal_kk',
					// additional javascript options for the date picker plugin
					'options' => array(
						'yearRange' => 'c-50:c+20',
					),
				));
				?>
				
                                
                                
                                </div>
			</div>
       </div>

        
    <div class="control-group ">
        <label class="control-label" >Jumlah Ketetapan pajak </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">Bunga </label>
        <div class="controls">
            <input type="text" class="span1" placeholder="0" >
            %=
            <input type="text" class="span1" placeholder="0.00" readonly >
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">Denda </label>
        <div class="controls">
            <input type="text" class="span1" placeholder="0" >
            %=
            <input type="text" class="span1" placeholder="0.00" readonly >
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Total Keseluruhan </label>
        <div class="controls">
            <input type="text" class="span3" readonly placeholder="0.00" >
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Keterangan </label>
        <div class="controls">
            <textarea class="span3"> </textarea>
        </div>
    </div>
</div>
 
    
    

    <div class="form-actions">
<?php
$this->widget('bootstrap.widgets.TbButton', array(
    'buttonType' => 'submit',
    'type' => 'primary',
    'label' => $model->isNewRecord ? 'Simpan' : 'Save',
));
?>
        <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            'buttonType' => 'submit',
            'type' => 'primary',
            'label' => $model->isNewRecord ? 'Batal' : 'Reset',
        ));
        ?>

    </div>


<?php $this->endWidget(); ?>